﻿@model IEnumerable<TCCVoigt.Models.Sistema>

@{
    ViewBag.Title = "Index";
}

<h2>Sistemas</h2>

<p>
    <a href="@Url.Action("Create")"><img src="~/Images/ico_add.png" alt="" border="0" style="float: left" />Adicionar</a>
</p>
<table id="grid">
    <thead>
        <tr>
            <th style="width: 60px">Ações</th>
            <th>Sistema</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model) {
        <tr>
            <td>
                <a href="@Url.Action("Edit", new { id = item.Codigo })"><img src="~/Images/ico_edit.png" alt="" border="0"/></a>
                 |
                <a href="@Url.Action("Delete", new { id = item.Codigo })"><img src="~/Images/ico_remove.png" alt="" border="0"/></a>
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Descricao)
            </td>
        </tr>
        }
    </tbody>


</table>
